﻿<local:ForecastPage x:Class="EmperialApps.WeatherSpark.DetailPage"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                    xmlns:local="clr-namespace:EmperialApps.WeatherSpark"
                    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
                    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
                    FontFamily="{StaticResource PhoneFontFamilyNormal}"
                    FontSize="{StaticResource PhoneFontSizeNormal}"
                    Foreground="{StaticResource PhoneForegroundBrush}"
                    Orientation="Portrait"
                    SupportedOrientations="Portrait"
                    mc:Ignorable="d"
                    d:DesignWidth="480"
                    d:DesignHeight="696"
                    shell:SystemTray.IsVisible="True">

    <Grid x:Name="LayoutRoot"
          Background="Transparent">
        <Grid x:Name="ContentPanel"
              Margin="{StaticResource PhoneHorizontalMargin}">
            <local:WeatherGraph x:Name="Graph" />

            <Rectangle x:Name="TileProgress"
                       Style="{StaticResource TileProgressIndicator}"
                       Margin="0,60,8,0">
                <Rectangle.Clip>
                    <PathGeometry />
                </Rectangle.Clip>
            </Rectangle>
        </Grid>

        <Grid x:Name="AdContainer"
              VerticalAlignment="Bottom"
              Visibility="Collapsed" />
    </Grid>

    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsMenuEnabled="True"
                              IsVisible="True" />
    </phone:PhoneApplicationPage.ApplicationBar>
</local:ForecastPage>